package com.xy.mockito;

public class Intent {

    private Hello hello;

    Intent() {}
    Intent(Hello hello) {
        this.hello = hello;
    }
    public Object getAction() {
        return 1;
    }

    public Object getStringExtra(String name) {
        String world = "aaaa";
        hello.say(world);
        return 1;
    }

    public Object getStringExtra() {
        String world = "aaaa";
        hello.say(world);
        return 1;
    }
}
